<?
require("config.php");

$location_status .= " | Enquire";

$show_backnav = "shipping_menu";

require($rela_path . "bin/country.php");

$menutype = 2;


if (!checkRecord($table,$id)){

	header("location:" . $rela_path . "share/msg.php?v=9002");
	exit();

}


$Query = "select 
	code,
	region,
	carrier,
	weightfrom,
	weightto,
	charge ,
	regionc,
	self
from $table where id='$id' Limit 1";
$r = myQuery($Query);

	$Code=		$r[0][0];
	$Country=	$r[0][1];
	$Carrier=	$r[0][2];
	$Weightfrom=	$r[0][3];
	$Weightto=	$r[0][4];
	$Charge=	$r[0][5];
	$Regionc=	$r[0][6];
	$self=	$r[0][7];
		
if (!$header_file) $header_file = "inc/header.php";
if (!$footer_file) $footer_file = "inc/footer.php";

require($rela_path . $header_file);

?>

<form action="" method="post" name="form1">  

<!--hidden filed-->
<input name="action" type="hidden" value="edit">
<input name="id" type="hidden" value="<?print($id)?>">




<br>
<br>
<br>
<table width="95%" border="0" align="center">
  <tr> 
    <td width="579" valign="top" height="127">      <table border="0">
      <tr>
        <td class="tdheader">Region : </td>
        <td>
          <?=$Country?>
        </td>
      </tr>
      <tr>
        <td class="tdheader">&nbsp;</td>
        <td><?=$Regionc?></td>
      </tr>
      <tr>
        <td class="tdheader">Carrier :</td>
        <td><?=$Carrier?></td>
      </tr>
      <tr>
        <td class="tdheader">Weight From :</td>
        <td>
          <?=$Weightfrom?>
    Kg </td>
      </tr>
      <tr>
        <td class="tdheader">Weight To :</td>
        <td>
          <?=$Weightto?>
    Kg </td>
      </tr>
      <tr>
        <td class="tdheader">Charge :</td>
        <td>
          <?=$Charge?>
    HKD</td>
      </tr>
      <tr>
        <td class="tdheader">Can Self take? </td>
        <td><?=$self?'Yes':'No'?></td>
      </tr>
    </table></td>

  </tr>
</table>
</form>
<br>
<br>
<br>
<?
require($rela_path . $footer_file);
?>
